package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药物规则对象 his_engine_rule_medicine
 * 
 * @author Alan
 * @date 2024-03-07
 */
public class HisEngineRuleMedicine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 规则id */
    @Excel(name = "规则id")
    private Long ruleId;

    /** 药物级别:1.非限制使用级2.限制使用级3.特殊使用级 */
    @Excel(name = "药物级别:1.非限制使用级2.限制使用级3.特殊使用级")
    private Integer medicineLevel;

    /** 药物类型:1.抗菌药物2.精麻药物 */
    @Excel(name = "药物类型:1.抗菌药物2.精麻药物")
    private Long medicineType;

    /** 条件：是否 */
    @Excel(name = "条件：是否")
    private Integer condition;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setMedicineLevel(Integer medicineLevel) 
    {
        this.medicineLevel = medicineLevel;
    }

    public Integer getMedicineLevel() 
    {
        return medicineLevel;
    }
    public void setMedicineType(Long medicineType) 
    {
        this.medicineType = medicineType;
    }

    public Long getMedicineType() 
    {
        return medicineType;
    }
    public void setCondition(Integer condition) 
    {
        this.condition = condition;
    }

    public Integer getCondition() 
    {
        return condition;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ruleId", getRuleId())
            .append("medicineLevel", getMedicineLevel())
            .append("medicineType", getMedicineType())
            .append("condition", getCondition())
            .append("createTime", getCreateTime())
            .toString();
    }
}
